package com.lzh.tiktok.user.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @author lizhihang
 * @create 2023-01-17 15:24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("follow")
public class FollowEntity {
    private static final long serialVersionUID = 1L;
    @TableId
    private Long followId;
    //关注的人
    private Integer followerId;
    //被关注的人
    private Integer followingId;

    private Byte followStatus;

    private Date createTime;

    private Date updateTime;

}
